package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页轮播图对象 banner
 *
 * @author mengtian
 * @date 2025-06-15
 */
public class Banner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图ID */
    @Excel(name = "轮播图ID")
    private String id;

    /** 图片URL */
    @Excel(name = "图片URL")
    private String imgUrl;

    /** 跳转链接 */
    @Excel(name = "跳转链接")
    private String hrefUrl;

    /** 类型标识 */
    @Excel(name = "类型标识")
    private String type;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }

    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }

    public void setHrefUrl(String hrefUrl)
    {
        this.hrefUrl = hrefUrl;
    }

    public String getHrefUrl()
    {
        return hrefUrl;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("imgUrl", getImgUrl())
                .append("hrefUrl", getHrefUrl())
                .append("type", getType())
                .toString();
    }
}
